<?php

namespace App\DashboardBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;

class UserController extends Controller
{
    public function listAction()
    {
        $entities = $this->getDoctrine()->getManager()->getRepository('AppDashboardBundle:User')->findAll();
        return $this->render('AppDashboardBundle:User:list.html.twig', array('entities' => $entities));
    }
}
